<template>
  <div class="mpmp">
      <van-sticky>
      <Brandtop v-for="(v,i) in arrb" :key="i" :brandname="v.brandname"/>
      </van-sticky>
        <Bu v-for="(v,i) in arrb" :key="i" :brandname="v.brandname" :brandimage="v.brandimage" :bacimage="v.bacimage" :brandbrief="v.brandbrief"/>
  </div>
</template>

<script>

import Brandtop from "c/cakeC/brandtop.vue"
import Bu from "c/cakeC/brandzu2.vue"
import {getlink} from "a/getapi.js"
export default {
  components:{
        Brandtop,
        Bu,
    },
    data(){
        return {
            arrb:[
               
            ]
        }
    },
   mounted(){
     getlink("/brand/data").then((ok)=>{
      //  console.log(ok)
       this.arrb=ok.data.brandh
     })
   }
  }
</script>

<style scoped>
    .mpmp{
        width: 100%;
        position: relative;
    }

</style>